package com.whw.fy.service;

import com.whw.fy.entity.Clazz;
import com.whw.fy.entity.Message;

import java.text.ParseException;
import java.util.List;

public interface ClazzService {


    Message deleteByPrimaryKey(Integer classId);

    Message insert(Clazz record);

    Message insertSelective(Clazz record);

    Message selectByPrimaryKey(Integer classId);

    Message updateByPrimaryKeySelective(Clazz record) throws ParseException;

    Message updateByPrimaryKey(Clazz record) throws ParseException;

    Message selectAll();

    int batchInsert(List<Clazz> list);

    Message selectByIdAndTime(int classId, int timeSkcd, int timeSkjc);

    Message selectStudentById(Integer classId);

    Message selectStudentAll();

    Message selectAllByTeachId(int teacherId);

    Message selectStudentInfoByClazzId(int clazzId);

    int updateBatch(List<Clazz> list);

    int updateBatchSelective(List<Clazz> list);

    Message judgementClassName(String className);

    Message judgementUpdateClassName(int classId, String className);
}




